package com.cxhc.system.domain.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
public class ExaminationUserQuestion {

    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户Id */
    private Long userId;

    /** 考试Id */
    private Long examinationId;

    /** 问题Id */
    private Long questionId;

    /** 答案 */
    private char answer;

    private char userAnswer;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createAt;

    /** 最新更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonIgnore
    private Date updateAt;


}
